package homework0301;

import java.util.Arrays;

public class SplitDemo1 {
    public static void main(String[] args) {
        String line =".123.456.78910";
        String[] date=line.split("\\.");
        System.out.println(Arrays.toString(date));
        System.out.println(date.length);
    }
}
